package com.itheima.demo.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * @author :WuJunJie
 * packageName :com.example.demo.config
 * fileName :Require
 * creationTime :2022-11-10 16:06
 */

@Configuration
public class Request {
    @Bean
    public static RestTemplate restTemplate(){
        return new RestTemplate();
    }
}
